<br>
<div>
	<a href='#' onclick="$('#helpbox').toggle();return false;">{{lang_click}}</a>
	{{lang_forhelp}}
</div>
<div id='helpbox' style='display: none;'>
	<br>
	{{{lang_help}}}
</div>
<br>

<form method="POST" enctype="multipart/form-data">
<table class="match_form">
    <tr>
        <td colspan="{{CP}}" class="dark"><b>{{lang_info}}</b></td>
    </tr>
    <tr><td class='seperator' colspan='{{CP}}'></td></tr>
    <tr>
        <td colspan='{{CP}}'>
            <b>{{lang_stad}}</b>&nbsp;
            <select name="stadium" {{DIS}}>
            	{{#team}}
            	<option value="{{team_id}}" {{SELECTED}} {{#color}} style="background-color:{{color}};"{{/color}}>{{team_name}}</option>
            	{{/team}}
            </select>
        </td>
    </tr>
    <tr>
        <td colspan='{{CP}}'>
            <b>{{lang_gate}}</b>&nbsp;
            <input type="text" name="gate" value="{{gate}}" size="4" maxlength="4" {{DIS}}>k
        </td>
    </tr>
    <tr>
        <td colspan='{{CP}}'>
            <b>{{lang_fans}}</b>&nbsp;
            <input type="text" name="fans" value="{{fans}}" size="7" maxlength="12" {{DIS}}>
        </td>
    </tr>
    
    <tr><td class="seperator" colspan='{{CP}}'></td></tr>
    <tr>
    	<td class="dark"><b>{{lang_teams}}</b></td>
    	<td class="dark"><b>{{lang_score}}</b></td>
    	<td class="dark"><b>&Delta;{{lang_treas}}</b></td>
    	<td class="dark"><b>{{lang_ff}}</b></td>
    	<td class="dark"><b>{{lang_smp}}</b></td>
    	<td class="dark"><b>{{lang_tcas}}</b></td>
    	<td class="dark"><b>{{lang_fame}}</b></td>
    	<td class="dark"><b>{{lang_tv}}</b></td>
    </tr>    
    <tr><td class='seperator' colspan='{{CP}}'></td></tr>
    {{#participatingteams}}
    <tr>
        <td>{{name}}</td>
        <td>
            <input type="text" name="result{{teamnumber}}" value="{{score}}" size="1" maxlength="2" {{DIS}}>
        </td>
        <td>
            <input type='text' name='inc_{{teamnumber}}' value="{{income}}" size='4' maxlength='4' {{DIS}}>k
        </td>
        <td>
            <input {{DIS}} type="radio" name='ff_{{teamnumber}}' value='1' {{ff_up}}><font color='green'><b>+1</b></font>
            <input {{DIS}} type="radio" name='ff_{{teamnumber}}' value='0' {{ff_nochange}}><font color='blue'><b>+0</b></font>
            <input {{DIS}} type="radio" name='ff_{{teamnumber}}' value='-1' {{ff_down}}><font color='red'><b>-1</b></font>
        </td>
        <td>
            <input type="text" name="smp{{teamnumber}}" value="{{smp}}" size="1" maxlength="2" {{DIS}}> {{lang_pts}}
        </td>
        <td>
            <input type="text" name="tcas{{teamnumber}}" value="{{tcas}}" size="1" maxlength="2" {{DIS}}>
        </td>
        <td>
            <input type="text" name="fame{{teamnumber}}" value="{{fame}}" size="1" maxlength="2" {{DIS}}>
        </td>
        <td>
            <input type="text" name="tv{{teamnumber}}" value="{{value}}" size="4" maxlength="10" {{DIS}}>k
        </td>
    </tr>
    {{/participatingteams}}
</table>